//
//  InfiniteScrollControl.h
//  Pods
//
//  Created by Liu Zhen on 12/22/15.
//
//

#import <UIKit/UIKit.h>

enum {
    InfiniteScrollingStateStopped = 0,
    InfiniteScrollingStateTriggered,
    InfiniteScrollingStateLoading,
    InfiniteScrollingStateAll = 10
};

@class RACCommand;

typedef NSUInteger InfiniteScrollingState;

@interface InfiniteScrollControl : UIControl

@property (nonatomic) BOOL isLoading;
@property (nonatomic, strong) RACCommand *rac_command;
@property (nonatomic, weak) UITableViewController *controller;

- (void)beginRefreshing;

- (void)endRefreshing;

@end
